GET api/imaging/{authenticationToken}/{loanKey}/{id}
This method returns all of the images for a specific document (task) on a loan.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
authenticationToken |
Current authentication token |
string |
Required |
loanKey |
The loan key string identifying the loan whose images will be returned |
string |
Required |
id |
This is the document (task) id for the desired document. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns a list of imaged documents specific to the requested document.
Collection of ImageModelName | Description | Type | Additional information |
---|---|---|---|
TaskId |
This is the identifier for the document (task). This field is always required. |
integer |
None. |
TaskName |
This is the name of the document. This is not required for saving an image. |
string |
None. |
TaskDescription |
This is the description of the document. This is not required for saving an image. |
string |
None. |
CustomerKey |
If the imaged document is specific to a customer on a loan, then this represents the key identifying the customer. If the document is not customer specific, this should either be blank or "0-0". This is required only if the document is specific to a customer. |
string |
None. |
Extension |
This is the extension of the document image, which is potentially used to determine the content type. If an extension is not provided and there is a content type provided, the system will attempt to assign a default extension to the image. Either the extension or content type is required for saving an image. |
string |
None. |
Name |
This can be used in multiple ways. This can be the actual file name that was uploaded or can be a vendor specific description of the document. This field is not required for saving an image. |
string |
None. |
Comment |
This is a generic comment for the imaged document. This field is not required for saving an image. |
string |
None. |
ImageData |
This is the binary image content that will be imaged. |
Object |
None. |
ContentType |
This is the MIME type of the image. If this is not provided, then the system will use the extension to determine this type. Either the extension or content type is required for saving an image. |
string |
None. |
ContentLength |
This is the length of the imaged document content. This field is not required for saving an image. |
integer |
None. |
DateCreated |
This is the date the document was imaged. This field is not required for saving an image. |
date |
None. |
Response Formats
application/json, text/json
[ { "TaskId": 1, "TaskName": "sample string 2", "TaskDescription": "sample string 3", "CustomerKey": "sample string 4", "Extension": "sample string 5", "Name": "sample string 6", "Comment": "sample string 7", "ImageData": {}, "ContentType": "sample string 9", "ContentLength": 10, "DateCreated": "2025-07-07T04:51:26.6768386-05:00" }, { "TaskId": 1, "TaskName": "sample string 2", "TaskDescription": "sample string 3", "CustomerKey": "sample string 4", "Extension": "sample string 5", "Name": "sample string 6", "Comment": "sample string 7", "ImageData": {}, "ContentType": "sample string 9", "ContentLength": 10, "DateCreated": "2025-07-07T04:51:26.6768386-05:00" } ]
application/xml, text/xml
<ArrayOfImageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EpicAPI.Models"> <ImageModel> <Comment>sample string 7</Comment> <ContentLength>10</ContentLength> <ContentType>sample string 9</ContentType> <CustomerKey>sample string 4</CustomerKey> <DateCreated>2025-07-07T04:51:26.6768386-05:00</DateCreated> <Extension>sample string 5</Extension> <ImageData /> <Name>sample string 6</Name> <TaskDescription>sample string 3</TaskDescription> <TaskId>1</TaskId> <TaskName>sample string 2</TaskName> </ImageModel> <ImageModel> <Comment>sample string 7</Comment> <ContentLength>10</ContentLength> <ContentType>sample string 9</ContentType> <CustomerKey>sample string 4</CustomerKey> <DateCreated>2025-07-07T04:51:26.6768386-05:00</DateCreated> <Extension>sample string 5</Extension> <ImageData /> <Name>sample string 6</Name> <TaskDescription>sample string 3</TaskDescription> <TaskId>1</TaskId> <TaskName>sample string 2</TaskName> </ImageModel> </ArrayOfImageModel>